<?php
    use yii\widgets\ActiveForm;
    use yii\helpers\Html;
?>
<?php $form=  ActiveForm::begin([
    'method'=>'post'
]);?>

  <!--一级菜单-->
<div id="firstmenu">
    <!--二级子菜单-->
</div>
  <!--添加一级菜单-->
<div id="addfirst"> 

</div>
  
    <?= Html::Button("添加子菜单",['id'=>'addfir','class'=>'btn btn-default']);?>
    <?= Html::Button("保存",['id'=>'btnsave','class'=>'btn btn-default']);?>
<?php ActiveForm::end();?>
  
  <?php echo $this->render('activeWindow',['model'=>new \app\models\GkyWeMenu()]); ?>
  
















